package memory

var memoryDB = map[string]int64{}

func Get(key string) int64 {
	value, ok := memoryDB[key]
	if ok {
		return value
	}
	return 0
}

func Set(key string, value int64) {
	memoryDB[key] = value
}
